
const baseUrl = window.apiAddress.baseUrl;
export function ensureFullUrl(url:any) {
    if (url.startsWith('http')) {
      return url;
    }
    return `${baseUrl}/${url}`;
  }